Change configuration handling wrt to the vcpus entry, so that we only see a
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 11:50:55 +0000 (11:50 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 11:50:55 +0000 (11:50 +0000)
commit5e61562a328ae5de04f6078308198cec3b12f94a
tree367a62d0310c66f949670d661b94b7488da24068
parent497ff155b39ea6f8f56bf6108b89e1c87656dff4
Change configuration handling wrt to the vcpus entry, so that we only see a
vcpus entry in the image section when using VMX, only add VMX options at all
if the builder is vmx, and issue a warning when overriding the global vcpus
setting with the one from the image.

This removes the duplicated vcpus entries in the domain's sxpr.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xm/create.py